Translation files for the WebdriverIO documentation, including a script that pulls the latest docs from the main repository and runs through a Large Language Model (LLM) to translate them.
After cloning this repository, create a .env
file with the following secret keys required for pulling the source translation and translating them:
ANTHROPIC_API_KEY=...
GITHUB_TOKEN=...
Then kick off the translation script:
npm start
Note: the script is caching the translations per language, running it without cache may cost you a lot of LLM usage.
As noted in constants.ts
, we currently translate into the following languages:
- ๐ธ๐ฆ Arabic
- ๐ฉ๐ช German
- ๐ช๐ธ Spanish
- ๐ฎ๐ท Persian
- ๐ซ๐ท French
- ๐ฎ๐ณ Hindi
- ๐ฎ๐น Italian
- ๐ฏ๐ต Japanese
- ๐ต๐ฑ Polish
- ๐ต๐น Portuguese
- ๐ท๐บ Russian
- ๐ธ๐ช Swedish
- ๐ฎ๐ณ Tamil
- ๐บ๐ฆ Ukrainian
- ๐จ๐ณ Chinese!
- ๐ป๐ณ Vietnamese
- KO Korean
If you like your language supported as well, please raise a PR and add it to constants.ts
.